#!/usr/bin/env python3
# Copyright (C) 2024 Checkmk GmbH - License: GNU General Public License v2
# This file is part of Checkmk (https://checkmk.com). It is subject to the terms and
# conditions defined in the file COPYING, which is part of this source code package.

import pytest
from fakeredis import FakeRedis

from cmk.base.automation_helper._cache import Cache


@pytest.fixture(name="cache")
def get_cache() -> Cache:
    return Cache.setup(client=FakeRedis())
